package com.myqf.d7_日期类_druid连接池.dao设计模式2;


/**
 * 作者：黎杭
 * 日期：2020/2/18
 */
public class User {

    private Integer userId, age, weight, height;
    private String name;

    public User() {// 此时这个无参构造有没有参数？

    }

    public User(Integer userId, Integer age) {
        this.userId = userId;
        this.age = age;
    }

    public User(Integer userId, Integer age, Integer weight, Integer height) {
        this.userId = userId;
        this.age = age;
        this.weight = weight;
        this.height = height;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
